//
//  PersonClass.cpp
//  Practice10
//
//  Created by 赵世杰 on 2020/7/11.
//  Copyright © 2020 zhaoshijie. All rights reserved.
//

#include "PersonClass.hpp"

#include <iostream>

using namespace std;

Person::Person(const string &ln,const char *fn)
{
    lname = ln;
    
    stpcpy(fname, fn);
    
}

void Person::Show() const
{
    cout << "Show---- lname:" << lname << " fname:" << fname << endl;
}

void Person::FormalShow() const
{
    cout << "FormalShow---- lname:" << lname << " fname:" << fname << endl;
}



